package com.msb.mall.mallgetway;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//排除数据源，因为导入了commons里有mybatis依赖
@EnableDiscoveryClient
@Slf4j
public class MallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run( MallGatewayApplication.class, args );

        log.info("网关服务启动成功80606");
    }

}
